Skip to content

Fix gallery baked lighting preview flicker#42

Merged
agustin-littlehat merged 3 commits into
mainfrom
gallery-baked-light-preview
May 28, 2026
Merged

Fix gallery baked lighting preview flicker#42
agustin-littlehat merged 3 commits into
mainfrom
gallery-baked-light-preview

Conversation

@agustin-littlehat

Copy link
Copy Markdown
Contributor

Summary

  • preview baked solid lighting through CSS variables without remounting solid leaves
  • reuse shadow SVGs during light preview and restore committed shadows when clearing previews
  • avoid gallery light/camera mouseup flicker by committing baked lighting only when light values change
  • sample the stats overlay panels instead of updating every panel every frame

Tests

  • pnpm test && pnpm build

@agustin-littlehat agustin-littlehat merged commit 1221183 into main May 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants